package com.vic.framework.bean;

import java.lang.reflect.Method;

/**
 * 封装Action信息
 * @author VIC
 *
 */
public class Handle {

	/**
	 * controller
	 */
	private Class<?> controllerClass;

	/**
	 * action method
	 */
	private Method actionMethod;

	public Handle(Class<?> controllerClass, Method actionMethod) {
		super();
		this.controllerClass = controllerClass;
		this.actionMethod = actionMethod;
	}

	public Class<?> getControllerClass() {
		return controllerClass;
	}

	public void setControllerClass(Class<?> controllerClass) {
		this.controllerClass = controllerClass;
	}

	public Method getActionMethod() {
		return actionMethod;
	}

	public void setActionMethod(Method actionMethod) {
		this.actionMethod = actionMethod;
	}

	@Override
	public String toString() {
		return "Handle [controllerClass=" + controllerClass + ", actionMethod=" + actionMethod + "]";
	}
	
	
	
}
